package com.xiaochong.tir.common.data.hbasepo;

import java.util.Date;

/**
 * 从CoinMarketCap 获取火币信息以及价格指数
 * Created by cx on 2018/4/25.
 */
public class CmcCurrencyInfo {

    /**
     * 货币id
     */
    private String id;
    /**
     * 货币符号
     */
    private String symbol;
    /**
     * 货币对USD 价格
     */
    private String priceUsd;
    /**
     * 货币对CNY 价格
     */
    private String priceCny;
    /**
     * 货币流通数量
     */
    private String availableSupply;
    /**
     * 货币总流通数量
     */
    private String totalSupply;
    /**
     * 货币对BTC 价格
     */
    private String priceBtc;
    /**
     * 最后更新时间
     */
    private String lastUpdated;
    /**
     * 市值 USD
     */
    private String marketCapUsd;
    /**
     * 24小时涨跌幅 USD
     */
    private String percentChange24h;
    /**
     * 7天涨跌幅 USD
     */
    private String percentChange7d;
    /**
     * 货币名称
     */
    private String name;
    /**
     * 市值排名
     */
    private String rank;
    /**
     * 24小时交易量 USD
     */
    private String volume24hUsd;
    /**
     * 货币总数量
     */
    private String maxSupply;
    /**
     * 1小时涨跌幅
     */
    private String percentChange1h;
    /**
     * 24小时流通量 CNY
     */
    private String volume24hCny;
    /**
     * 市值 CNY
     */
    private String marketCapCny;
    /**
     * 创建时间
     */
    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getPriceUsd() {
        return priceUsd;
    }

    public void setPriceUsd(String priceUsd) {
        this.priceUsd = priceUsd;
    }

    public String getPriceCny() {
        return priceCny;
    }

    public void setPriceCny(String priceCny) {
        this.priceCny = priceCny;
    }

    public String getAvailableSupply() {
        return availableSupply;
    }

    public void setAvailableSupply(String availableSupply) {
        this.availableSupply = availableSupply;
    }

    public String getTotalSupply() {
        return totalSupply;
    }

    public void setTotalSupply(String totalSupply) {
        this.totalSupply = totalSupply;
    }

    public String getPriceBtc() {
        return priceBtc;
    }

    public void setPriceBtc(String priceBtc) {
        this.priceBtc = priceBtc;
    }

    public String getLastUpdated() {
        return lastUpdated;
    }

    public void setLastUpdated(String lastUpdated) {
        this.lastUpdated = lastUpdated;
    }

    public String getMarketCapUsd() {
        return marketCapUsd;
    }

    public void setMarketCapUsd(String marketCapUsd) {
        this.marketCapUsd = marketCapUsd;
    }

    public String getPercentChange24h() {
        return percentChange24h;
    }

    public void setPercentChange24h(String percentChange24h) {
        this.percentChange24h = percentChange24h;
    }

    public String getPercentChange7d() {
        return percentChange7d;
    }

    public void setPercentChange7d(String percentChange7d) {
        this.percentChange7d = percentChange7d;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    public String getVolume24hUsd() {
        return volume24hUsd;
    }

    public void setVolume24hUsd(String volume24hUsd) {
        this.volume24hUsd = volume24hUsd;
    }

    public String getMaxSupply() {
        return maxSupply;
    }

    public void setMaxSupply(String maxSupply) {
        this.maxSupply = maxSupply;
    }

    public String getPercentChange1h() {
        return percentChange1h;
    }

    public void setPercentChange1h(String percentChange1h) {
        this.percentChange1h = percentChange1h;
    }

    public String getVolume24hCny() {
        return volume24hCny;
    }

    public void setVolume24hCny(String volume24hCny) {
        this.volume24hCny = volume24hCny;
    }

    public String getMarketCapCny() {
        return marketCapCny;
    }

    public void setMarketCapCny(String marketCapCny) {
        this.marketCapCny = marketCapCny;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "CmcCurrencyInfo{" +
                "id='" + id + '\'' +
                ", symbol='" + symbol + '\'' +
                ", priceUsd='" + priceUsd + '\'' +
                ", priceCny='" + priceCny + '\'' +
                ", availableSupply='" + availableSupply + '\'' +
                ", totalSupply='" + totalSupply + '\'' +
                ", priceBtc='" + priceBtc + '\'' +
                ", lastUpdated='" + lastUpdated + '\'' +
                ", marketCapUsd='" + marketCapUsd + '\'' +
                ", percentChange24h='" + percentChange24h + '\'' +
                ", percentChange7d='" + percentChange7d + '\'' +
                ", name='" + name + '\'' +
                ", rank='" + rank + '\'' +
                ", volume24hUsd='" + volume24hUsd + '\'' +
                ", maxSupply='" + maxSupply + '\'' +
                ", percentChange1h='" + percentChange1h + '\'' +
                ", volume24hCny='" + volume24hCny + '\'' +
                ", marketCapCny='" + marketCapCny + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
